/*
 * @Author: 卡卡 1071780426@qq.com
 * @Date: 2022-08-15 14:23:50
 * @LastEditors: 卡卡 1071780426@qq.com
 * @LastEditTime: 2022-08-16 13:16:03
 * @FilePath: \qualitymeasurement\src\router\index.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/home'
import Index from '@/views/index'


Vue.use(Router)

export default new Router({
  routes: [{
    path: '/',
    name: 'Home',
    component: Home,
    redirect: "/index",
    children: [{
      path: "/index",
      name: "Index",
      component: Index
    }]
  }]
})
